package com.cdxy.dmr.mapper;

import com.cdxy.dmr.dataObject.HotSearchDO;
import com.cdxy.model.dto.base.mybatis.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 热门搜索 Mapper 接口
 * </p>
 *
 * @author autoGenCode
 * @since 2020-03-05
 */
public interface HotSearchMapper extends BaseMapper<HotSearchDO> {
    /**
     * 更新搜索的名词
     *
     * @param name
     * @return
     */
    boolean updateSearchCount(@Param("name") String name);

}
